home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2004 August / My Disc.iso / games / demo / Rapid gunner / RG_Setup.exe / common / basic_vs.fxh next >
Encoding:
Text File  |  2004-04-19  |  698 b   |  18 lines

  1. // LF2 Engine
  2. // (C) 2002-3 7FX
  3. //---------------------------------------------------------------------------
  4. // Common base vertex shader
  5. //---------------------------------------------------------------------------
  6. const matrix cMtxWVP : WorldViewProjection;
  7. //---------------------------------------------------------------------------
  8. void BasicVS(float4 Position : POSITION, out float4 OutPosition : POSITION)
  9. {
  10.     OutPosition = mul(Position, cMtxWVP);
  11. }
  12. //---------------------------------------------------------------------------
  13. shared const vertexshader cBasicVS = compile vs_1_1 BasicVS();
  14. //---------------------------------------------------------------------------
  15.  
  16.  
  17.  
  18.